

let routeas = [
    {
        path: '/',
        redirect:"/home"
    },
    {
        path: '/login',
        name: 'login',
        component: () => import("@/views/login/index.vue")
    },
    {
        path:'/home',
        name:'home',
        component:()=>import("@/views/home/index.vue")
    },
    {
        path:'/classify',
        name:'classify',
        component:()=>import("@/views/classify/index.vue")
    },
    {
        path:'/find',
        name:'find',
        component:()=>import("@/views/find/index.vue")
    },
    {
        path:'/my',
        name:'my',
        component:()=>import("@/views/my/index.vue")
    },
    {
        path:'/MyTravels',
        name:'MyTravels',
        component:()=>import("@/views/my/MyTravels/index.vue")
    },
    {
        path:'/MyComments',
        name:'MyComments',
        component:()=>import("@/views/my/MyComments/index.vue")
    },
    {
        path:'/MyLikes',
        name:'MyLikes',
        component:()=>import("@/views/my/MyLikes/index.vue")
    },
    {
        path:'/MyCollection',
        name:'MyCollection',
        component:()=>import("@/views/my/MyCollection/index.vue")
    },
    {
        path:'/ChangePassword',
        name:'ChangePassword',
        component:()=>import("@/views/my/ChangePassword/index.vue")
    },
    {
        path:'/ForgotPassword',
        name:'ForgotPassword',
        component:()=>import("@/views/my/ForgotPassword/index.vue")
    },
    {
        path:'/search',
        name:'search',
        component:()=>import("@/views/search/index.vue")
    },
    {
        path:'/register',
        name:'register',
        component:()=>import("@/views/register/index.vue")
    },

]

export default routeas;